package com.tongtong.stsuserapi.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("管理员")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Manager implements Serializable {
	private static final long serialVersionUID = -324252L;

	@ApiModelProperty("ID主键")
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;

	@ApiModelProperty("用户名")
	private String username;
	@ApiModelProperty("密码")
	@JsonIgnore
	private String password;
	@ApiModelProperty("逻辑删除 (0为删除,1为正常)")
	private Integer state;

}